strongswan/scripts/kdevstart

14 lines
447 B
Bash
Executable File

#!/bin/bash
#
# The kdevelop file parser gets confused by the
# macrofied aes code, which leads to infinite
# memory consumption. Use this dirty trick to
# get kdevelop running...
mv src/libstrongswan/crypto/crypters/aes_cbc_crypter.c libstrongswan_aes.c
mv src/libcrypto/libaes/aes.c libcrypto_aes.c
kdevelop3 &
sleep 20
mv libstrongswan_aes.c src/libstrongswan/crypto/crypters/aes_cbc_crypter.c
mv libcrypto_aes.c src/libcrypto/libaes/aes.c