Allow closeable and nvm structures to be located by where they were allocated.
[SquirrelJME.git] / utils-dev / realmv.sh
blob9bb7dc8c72186d4e629c7bfb05093c761f67b53b
1 #!/bin/sh
2 # ---------------------------------------------------------------------------
3 # Multi-Phasic Applications: SquirrelJME
4 # Copyright (C) Stephanie Gawroriski <xer@multiphasicapps.net>
5 # Copyright (C) Multi-Phasic Applications <multiphasicapps.net>
6 # ---------------------------------------------------------------------------
7 # SquirrelJME is under the GNU General Public License v3, or later.
8 # For more information see license.txt.
9 # ---------------------------------------------------------------------------
10 # DESCRIPTION: Performs a complex fossil move.
12 # Force C locale
13 export LC_ALL=C
15 # Directory of this script
16 __exedir="$(dirname -- "$0")"
18 # Only two args
19 if [ "$#" -ne "2" ]
20 then
21 echo "Usage: $0 (src) (dest)" 1>&2
22 exit 1
25 # Forward to other move script
26 "$__exedir/fmv.sh" "$1" "$2"
27 exit $?